import Home from "@/views/Home.vue";
import login from "@/views/login.vue";
import Card from "@/views/card.vue"
import Con from "@/views/QRCode.vue"
import Res from "@/views/Reservation.vue"
import Guang from "@/views/Guang.vue"
const routes = [
	{
		path: "/login",
		name: "login",
		component: login,
		meta: {},
	},
	{
		path: "/home",
		name: "Home",
		component: Home,
		meta: {
			isKeepAlive: true,
		},
	},
	{
		path: "/guang",
		name: "Guang",
		component: Guang,
		meta: {
			isKeepAlive: true,
		},
	},
	{
		path: "/card",
		name: "card",
		component: Card,
		meta: {
			isKeepAlive: true,
		},
	},
	{
		path: "/usercontroll",
		name: "usercontroll",
		component: Con,
		meta: {
			isKeepAlive: true,
		},
	},
	{
		path: "/goodsDetail",
		name: "goodsDetail",
		component: () => import("@/views/common/goodsDetail.vue"),
		meta: {
			isRouterKeepAlive: true,
		},
	},
	{
		path: "/useReservation",
		name: "reservation",
		component: Res,
		meta: {
			isKeepAlive: true,
		},
	}
];

export { routes };
